<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .one{
            width: 300px;
            height: 300px;
            float: left;
            background-color: rgb(129, 10, 10);
        }
        .two{

            height: 300px;
            background-color: rgb(78, 30, 155);
        }
        .son{
            height: 300px;
            margin-left: 300px;
        }
    </style>
</head>
<body>
    <div class="one"></div>
    <div class="two">
        通过加一个子盒子，控制显示距离
        <div class="son">1111</div>
    </div>
</body>
</html>